package org.misalen.web.server.forms.machine;

import org.misalen.annotations.ModelComment;
import org.misalen.validate.annotation.Required;

public class MachineRunningtimeForm {

	@Required
	@ModelComment(value = "视频id")
	private String videoId;
	@Required
	@ModelComment(value = "用户id")
	private String userId;
	@Required
	@ModelComment("播放时长(小时)")
	private Integer runningtime;

	/**
	 * 获取userId
	 * 
	 * @return userId userId
	 */
	public String getUserId() {
		return userId;
	}

	/**
	 * 设置userId
	 * 
	 * @param userId
	 *            userId
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * 获取videoId
	 * 
	 * @return videoId videoId
	 */
	public String getVideoId() {
		return videoId;
	}

	/**
	 * 设置videoId
	 * 
	 * @param videoId
	 *            videoId
	 */
	public void setVideoId(String videoId) {
		this.videoId = videoId;
	}

	/**
	 * 获取runningtime
	 * 
	 * @return runningtime runningtime
	 */
	public Integer getRunningtime() {
		return runningtime;
	}

	/**
	 * 设置runningtime
	 * 
	 * @param runningtime
	 *            runningtime
	 */
	public void setRunningtime(Integer runningtime) {
		this.runningtime = runningtime;
	}

}
